package com.xz.design.patterns.proxy.staticProxy;

/**
 * 静态代理
 */
public class ProxyPoint implements SellTickets{

    // 声明火车站对象
    private TrainStation trainStation = new TrainStation();

    @Override
    public void sell() {
        System.out.println("代售点收取一些费用");
        trainStation.sell();
    }
}
